#include<iostream>
using namespace std;
int main()
{
    float n  = 0;
    float sum = 0;
    for(int i = 0;i<9;i++)
    {
        cin >> n;
        cout << n << " ";
        sum+=n;
    }
    cout << (float)sum / (float)9 << endl;
}